<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
    <title>抽奖日志</title>
</head>
<body>
<table>
    <tr>
        <th>奖品名称</th>
        <th>兑换状态</th>
        <th>抽奖时间</th>
    </tr>
    {foreach name="list" item="vo"}
    <tr>
        <td> 奖品: {$vo.price}</td>
        <td>{empty name="vo.redeemtime"}<span style="color: #00c0ef">待兑换</span>{else/}<span style="color: #f4bb16">兑换成功</span> {/empty} </td>
        <td> {$vo.addtime|date='Y-m-d H:i:s',###}</td>
    </tr>
    {/foreach}
    <tr><td colspan="3">{$list->render()}</td></tr>
</table>
</body>
</html>